package com.chery.foxlogrecord.extension.constant;

/**
 * 系统通用常量
 *
 * @author qiangt
 * @since 2022-11-11
 */
public interface Constants {
    /**
     * CURRENT_LOGIN_USER
     */
    String CURRENT_LOGIN_USER = "CURRENT_LOGIN_USER";

    /**
     * 链路追踪标记
     */
    String TRACE_KEY = "X-B3-TraceId";
    String TRACE_USER_ID_KEY = "x-user-id";

    /**
     * ROOT权限
     */
    String ADMIN_AUTHORITY = "ROLE_ADMIN";

    /**
     * 匿名权限
     */
    String ANONYMOUS_AUTHORITY = "ROLE_ANONYMOUS";
    /**
     * 默认的创建人
     */
    String DEFAULT_CREATOR = "ANONYMOUS";
    /**
     * 默认的创建人id
     */
    Long DEFAULT_CREATE_BY = 922337203685477L;
}
